package com.zyh.scs.admin.api.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author hwh
 * @ClassName: 角色列表VO$
 * @Description: $
 * @Date $
 * @Version 1.0
 */
@Data
@Schema(description = "角色列表VO")
public class UserRoleVO implements Serializable {

    @Schema(description = "角色编号")
    private Long roleId;

    @Schema(description = "角色名称")
    private String roleName;

    @Schema(description = "角色标识")
    private String roleCode;

    @Schema(description = "角色描述")
    private String roleDesc;

    @Schema(description = "数据权限类型")
    private Integer dsType;

    @Schema(description = "用户数")
    private Integer userNumber;

    /**
     * 数据权限作用范围
     */
    @Schema(description = "数据权限作用范围")
    private String dsScope;

    /**
     * 角色状态
     */
    @Schema(description = "角色状态  1启用  2禁用")
    private String status;

    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "创建人")
    private String createBy;
}
